package pl.th.permission.demo;

import android.content.Intent;
import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import pl.th.permission.demo.example.CameraSensorActivity;
import pl.th.permission.demo.example.CallbackActivity;
import pl.th.permission.demo.example.InstallAppActivity;
import pl.th.permission.demo.example.LocationActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        findViewById(R.id.main_all).setOnClickListener(v -> {
            startActivity(new Intent(MainActivity.this, InstallAppActivity.class));
        });
        findViewById(R.id.main_on_xxx_callback).setOnClickListener(v -> {
            startActivity(new Intent(MainActivity.this, CallbackActivity.class));
        });
    }
}
